//
//  BaseNet.h
//  SportSocial
//
//  Created by yull on 14/12/4.
//  Copyright (c) 2014年 yull. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFHTTPRequestOperationManager.h>

typedef void(^httpSuccessBlock)(AFHTTPRequestOperation *operation, id responseObject);
typedef void(^httpFailBlock)(AFHTTPRequestOperation *operation, NSError *error);

@interface BaseNet : NSObject

+ (NSString *)baseUrl;

+ (NSString *)token;

+ (AFHTTPRequestOperationManager *)manager;

+ (NSString *)handleResultCode:(NSInteger)resultCode;

@end
